package com.changgou.file;

import com.changgou.user.config.TokenDecode;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.context.annotation.Bean;
import tk.mybatis.spring.annotation.MapperScan;

@SpringBootApplication
@EnableEurekaClient
@MapperScan(basePackages = {"com.changgou.user.dao"})
public class FileApplication {
	public static void main(String[] args) {
		SpringApplication.run(FileApplication.class);
	}

	@Bean
	public TokenDecode tokenDecode(){
		return new TokenDecode();
	}

}
